const http = uni.$u.http

// post请求，获取菜单
export const postMenu = (data) => http.get('api/index',data)
export const getGoodsCategory = (params={}) => http.get("api/goods", params); //获取商品分类
export  const getGoodsDetail = (good) => http.get(`api/goods/${good}`); //获取商品详情